package cn.rose.test;

import java.io.Serializable;

public class KeyWordModel implements Comparable<KeyWordModel>,Serializable{
	private String hdKeyWord;
	private String ucKeyWord;
	private int count;
	/**
	 * @return the hdKeyWord
	 */
	public String getHdKeyWord() {
		return hdKeyWord;
	}
	/**
	 * @param hdKeyWord the hdKeyWord to set
	 */
	public void setHdKeyWord(String hdKeyWord) {
		this.hdKeyWord = hdKeyWord;
	}
	/**
	 * @return the ucKeyWord
	 */
	public String getUcKeyWord() {
		return ucKeyWord;
	}
	/**
	 * @param ucKeyWord the ucKeyWord to set
	 */
	public void setUcKeyWord(String ucKeyWord) {
		this.ucKeyWord = ucKeyWord;
	}
	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}
	public int compareTo(KeyWordModel other) {
		if (this.count < other.getCount()) {
			return 1;
		}else if (this.count == other.getCount()) {
			return 0;
		}else {
			return -1;
		}
	}
	
}
